﻿@using Magicodes.WeChat.SDK
@*该版本修复了IOS图片预览问题*@
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
@Scripts.Render("~/Content/wc.weichat")
@{
    var jssdkInfo = WeChatConfigManager.Current.GetJSSDKConfigInfo();
}
<script type="text/javascript">
    wc.weiChat.init({
        debug: @(HttpContext.Current.IsDebuggingEnabled.ToString().ToLower()),
        appId: '@jssdkInfo.AppId',
        timestamp: '@jssdkInfo.Timestamp',
        nonceStr: '@jssdkInfo.NonceStr',
        signature: '@jssdkInfo.Signature'
    });
</script>